home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
program
/
inter51c.zip
/
FARCALL.LST
< prev
next >
Wrap
File List
|
1996-07-28
|
54KB
|
1,405 lines
FAR CALL Interface List Release 51 Last change 7/28/96
Copyright (c) 1989,1990,1991,1992,1993,1994,1995,1996 Ralf Brown
=============================================
>CALL 0000h:0000h - Sample Entry
>InstallCheck: how to determine CALL address if variable, whether it is
> available if address is fixed
>Program: description of the program(s) providing the API
>Note: any notes related to the API
>SeeAlso: related APIs, and interrupt entries for this API in INTERRUP.*
>
>Call entry point with:
> input registers
>Return: result registers
>
>Format of data:
>Offset Size Description
> 00h ... ...
=============================================
----------@00600000--------------------------
CALL 0060h:0000h - Eagle MS-DOS v1.25 IO.SYS - INITIALIZE
InstallCheck: MS-DOS v1.25 must be installed
Note: this function should only be called by MSDOS.SYS
SeeAlso: @0060h:0003h,@0060h:0039h
----------@00600003--------------------------
CALL 0060h:0003h - Eagle MS-DOS v1.25 IO.SYS - CHECK FOR KEYSTROKE
InstallCheck: MS-DOS v1.25 must be installed
Note: does not return extended keystrokes
SeeAlso: @0060h:0000h,@0060h:0006h,@0060h:0027h
(Table F001)
Call Eagle MS-DOS entry point 0003h with:
nothing
Return: ZF set if no key
ZF clear if keystroke available
AL = keystroke
----------@00600006--------------------------
CALL 0060h:0006h - Eagle MS-DOS v1.25 IO.SYS - WAIT FOR KEYSTROKE
InstallCheck: MS-DOS v1.25 must be installed
Notes: if an extended keystroke is available, only the low byte is returned,
and this function must be called again to get the high byte
the BIOS keycode 0000h (Ctrl-Break) is returned as 00h+FFh to avoid
the ambiguity that might be caused by returning the 00h high byte
SeeAlso: @0060h:0000h,@0060h:0003h,@0060h:0027h
(Table F002)
Call Eagle MS-DOS entry point 0006h with:
nothing
Return: AL = keystroke
flags modified
----------@00600009--------------------------
CALL 0060h:0009h - Eagle MS-DOS v1.25 IO.SYS - OUTPUT CHARACTER TO SCREEN
InstallCheck: MS-DOS v1.25 must be installed
Note: this entry point supports most of the ANSI.SYS control sequences,
plus several additional escape sequences
SeeAlso: @0060h:0000h,@0060h:0003h,@0060h:000Ch
(Table F003)
Call Eagle MS-DOS entry point 0009h with:
AL = character to output
Return: flags modified
----------@0060000C--------------------------
CALL 0060h:000Ch - Eagle MS-DOS v1.25 IO.SYS - OUTPUT CHARACTER TO PRINTER
InstallCheck: MS-DOS v1.25 must be installed
Note: this entry point is able, if set by configuration (see @0060h:0039h),
to strip linefeed characters following carriage returns
SeeAlso: @0060h:0000h,@0060h:0009h
(Table F004)
Call Eagle MS-DOS entry point 000Ch with:
AL = character to be printed
Return: flags modified
----------@0060000F--------------------------
CALL 0060h:000Fh - Eagle MS-DOS v1.25 IO.SYS - INPUT CHAR FROM AUX: DEVICE
InstallCheck: MS-DOS v1.25 must be installed
Note: if the configured AUX: device is a parallel port, this call always
returns a Ctrl-Z as the "read" character; Ctrl-Z is also returned
if the user presses Esc or Ctrl-Break while waiting for a character
to arrive on a serial port
SeeAlso: @0060h:0000h
(Table F005)
Call Eagle MS-DOS entry point 000Fh with:
nothing
Return: AL = received character
----------@00600012--------------------------
CALL 0060h:0012h - Eagle MS-DOS v1.25 IO.SYS - OUTPUT CHAR TO AUX: DEVICE
InstallCheck: MS-DOS v1.25 must be installed
Note: if the port is busy, this function waits until the port becomes
available or the user presses Esc or Ctrl-Break
SeeAlso: @0060h:0000h
(Table F006)
Call Eagle MS-DOS entry point 0012h with:
AL = character to output
Return: flags modified
----------@00600015--------------------------
CALL 0060h:0015h - Eagle MS-DOS v1.25 IO.SYS - READ ABSOLUTE SECTOR(S)
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:0018h,@0060h:001Bh
(Table F007)
Call Eagle MS-DOS entry point 0015h with:
AL = drive table number
ES:BX -> buffer
CX = number of sectors to read
DX = logical sector number of first sector
AH = verify flag
Return: CF clear if successful
CF set on error
AL = error code
0Ch drive table number out of range
Note: the drive number in AL is *not* the logical DOS drive number, but
the number of an internal data table; multiple data tables, each
describing a distinct disk format, may be shared by one logical
drive
----------@00600018--------------------------
CALL 0060h:0018h - Eagle MS-DOS v1.25 IO.SYS - WRITE ABSOLUTE SECTOR(S)
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:0015h,@0060h:001Bh
(Table F008)
Call Eagle MS-DOS entry point 0018h with:
AL = drive table number
ES:BX -> data to be written
CX = number of sectors to write
DX = logical sector number of first sector
AH = verify flag
Return: CF clear if successful
CF set on error
AL = error code
0Ch drive table number out of range
Note: the drive number in AL is *not* the logical DOS drive number, but
the number of an internal data table; multiple data tables, each
describing a distinct disk format, may be shared by one logical
drive
----------@0060001B--------------------------
CALL 0060h:001Bh - Eagle MS-DOS v1.25 IO.SYS - DETERMINE DISK FORMAT
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:0015h,@0060h:002Ah
(Table F009)
Call Eagle MS-DOS entry point 001Bh with:
AL = DOS drive number
Return: CF clear if successful
AL = drive table number
AH = ??? flag
00h ???
FFh ???
CF set on error
AL = error code
02h ???
0Ch unrecognized format
----------@0060001E--------------------------
CALL 0060h:001Eh - Eagle MS-DOS v1.25 IO.SYS - SET DAY COUNT
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:0021h,@0060h:0024h
(Table F010)
Call Eagle MS-DOS entry point 001Eh with:
AX = day count
Return: nothing
----------@00600021--------------------------
CALL 0060h:0021h - Eagle MS-DOS v1.25 IO.SYS - SET SYSTEM TIME
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:001Eh,@0060h:0024h
(Table F011)
Call Eagle MS-DOS entry point 0021h with:
CH = hours
CL = minutes
DH = seconds
DL = hundredths
Return: flags modified
----------@00600024--------------------------
CALL 0060h:0024h - Eagle MS-DOS v1.25 IO.SYS - READ SYSTEM TIME
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:001Eh,@0060h:0021h
(Table F012)
Call Eagle MS-DOS entry point 0024h with:
nothing
Return: AX = day count
CH = hours
CL = minutes
DH = seconds
DL = hundredths
----------@00600027--------------------------
CALL 0060h:0027h - Eagle MS-DOS v1.25 IO.SYS - CLEAR KEYBOARD BUFFER
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:0003h,@0060h:0006h
(Table F013)
Call Eagle MS-DOS entry point 0027h with:
nothing
Return: ZF set
----------@0060002A--------------------------
CALL 0060h:002Ah - Eagle MS-DOS v1.25 IO.SYS - SEARCH FOR NEXT DISK FORMAT
InstallCheck: MS-DOS v1.25 must be installed
SeeAlso: @0060h:0000h,@0060h:001Bh
(Table F014)
Call Eagle MS-DOS entry point 002Ah with:
AL = drive table number
Return: AL = next drive table number with matching disk sector size and media
ID byte
----------@00600039--------------------------
CALL 0060h:0039h - Eagle MS-DOS v1.25 IO.SYS - CONFIGURE FROM SYSINFO.SYS
InstallCheck: MS-DOS v1.25 must be installed
Note: reads the first 144 bytes of SYSINFO.SYS from the current drive into
an internal configuration buffer
SeeAlso: @0060h:0000h
----------@C0000003--------------------------
CALL C000h:0003h - VIDEO BIOS INITIALIZATION
InstallCheck: C000h:0000h must contain the word AA55h and the
512*BYTE[C000h:0002h] bytes must sum to 00h (mod 256)
Note: is normally called only by the System ROM BIOS initialization code
----------@C0000064--------------------------
CALL C000h:0064h U - ATI Mach32 VIDEO BIOS - ???
InstallCheck: ATI Mach32 video board must be i